LL PWR APIs listing for migration

This section provides a full listing of the HAL1 APIs for migration. It includes the various constants, enumerations, structures, functions, and macros.

LL PWR constants

HAL1

series

HAL2

LL_PWR_REGU_VOLTAGE_SCALE3

f4, h5, h7, u5

LL_PWR_REGU_VOLT_SCALE_3

LL_PWR_REGU_VOLTAGE_SCALE4

u5

LL_PWR_REGU_VOLT_SCALE_4

LL_PWR_REGU_VOLTAGE_SCALE0

h5, h7

LL_PWR_REGU_VOLT_SCALE_0

LL_PWR_LDO_SUPPLY

u5

LL_PWR_MAIN_REGU_SUPPLY_LDO_ENABLED

LL_PWR_SMPS_SUPPLY

u5

LL_PWR_MAIN_REGU_SUPPLY_SMPS_ENABLED

LL_PWR_REGU_VOLTAGE_SVOS_SCALE3

h5, h7

Not implemented yet in HAL2.

LL_PWR_REGU_VOLTAGE_SVOS_SCALE4

h5, h7

Not implemented yet in HAL2.

LL_PWR_REGU_VOLTAGE_SVOS_SCALE5

h5, h7

Not implemented yet in HAL2.

LL_PWR_WAKEUP_PIN_PULLDOWN

h5, h7

LL_PWR_WAKEUP_PIN_PULL_DOWN

LL_PWR_WAKEUP_PIN_PULLUP

h5, h7

LL_PWR_WAKEUP_PIN_PULL_UP

LL_PWR_SCR_CWUF

c0, g0, g4, l4

LL_PWR_SCR_CWUF_ALL

LL_PWR_CR_CSBF

f4

LL_PWR_SCR_CSBF

LL_PWR_CR_CWUF

f4

LL_PWR_SCR_CWUF_ALL

LL_PWR_CSR_EWUP1

f4

Not implemented yet in HAL2.

LL_PWR_CSR_EWUP2

f4

Not implemented yet in HAL2.

LL_PWR_CSR_EWUP3

f4

Not implemented yet in HAL2.

LL_PWR_CSR_PVDO

f4

LL_PWR_CSR_PVDO

LL_PWR_CSR_SBF

f4

Not implemented yet in HAL2.

LL_PWR_CSR_VOS

f4

Not implemented yet in HAL2.

LL_PWR_CSR_WUF

f4

Not implemented yet in HAL2.

LL_PWR_MODE_STOP_LPREGU

f4

Not implemented yet in HAL2.

LL_PWR_MODE_STOP_LPREGU_DEEPSLEEP

f4

Not implemented yet in HAL2.

LL_PWR_MODE_STOP_LPREGU_UNDERDRIVE

f4

Not implemented yet in HAL2.

LL_PWR_MODE_STOP_MAINREGU

f4

Not implemented yet in HAL2.

LL_PWR_MODE_STOP_MAINREGU_DEEPSLEEP

f4

Not implemented yet in HAL2.

LL_PWR_MODE_STOP_MAINREGU_UNDERDRIVE

f4

Not implemented yet in HAL2.

LL_PWR_REGU_DSMODE_LOW_POWER

f4, h7

Not implemented yet in HAL2.

LL_PWR_REGU_DSMODE_MAIN

f4, h7

Not implemented yet in HAL2.

LL_PWR_BATTCHARG_RESISTOR_1_5K

g0

LL_PWR_BATTCHARG_RESISTOR_5K

LL_PWR_BATTCHARG_RESISTOR_5K

g0

LL_PWR_BATT_CHARG_RESISTOR_5K

LL_PWR_PVDHLEVEL_0

g0

Not implemented yet in HAL2.

LL_PWR_PVDHLEVEL_1

g0

Not implemented yet in HAL2.

LL_PWR_PVDHLEVEL_2

g0

Not implemented yet in HAL2.

LL_PWR_PVDHLEVEL_3

g0

Not implemented yet in HAL2.

LL_PWR_PVDHLEVEL_4

g0

Not implemented yet in HAL2.

LL_PWR_PVDHLEVEL_5

g0

Not implemented yet in HAL2.

LL_PWR_PVDHLEVEL_6

g0

Not implemented yet in HAL2.

LL_PWR_PVDHLEVEL_7

g0

Not implemented yet in HAL2.

LL_PWR_PVDLLEVEL_0

g0

Not implemented yet in HAL2.

LL_PWR_PVDLLEVEL_1

g0

Not implemented yet in HAL2.

LL_PWR_PVDLLEVEL_2

g0

Not implemented yet in HAL2.

LL_PWR_PVDLLEVEL_3

g0

Not implemented yet in HAL2.

LL_PWR_PVDLLEVEL_4

g0

Not implemented yet in HAL2.

LL_PWR_PVDLLEVEL_5

g0

Not implemented yet in HAL2.

LL_PWR_PVDLLEVEL_6

g0

Not implemented yet in HAL2.

LL_PWR_GPIO_G

g4, l4

Not implemented yet in HAL2.

LL_PWR_PVM_VDDA_ADC

g4

LL_PWR_PVM_VDDA_1_62V

LL_PWR_PVM_VDDA_COMP

g4

LL_PWR_PVM_VDDUSB_1_2V

LL_PWR_PVM_VDDA_FASTDAC

g4

Not implemented yet in HAL2.

LL_PWR_PVM_VDDA_OPAMP_DAC

g4

LL_PWR_PVM_VDDA_2_2V

LL_PWR_SR2_PVMO2

g4, l4

Not implemented yet in HAL2.

LL_PWR_4KBYTES_SRAM2_RETENTION

l4

Not implemented yet in HAL2.

LL_PWR_FULL_SRAM2_RETENTION

l4

Not implemented yet in HAL2.

LL_PWR_GPIO_H

l4

LL_PWR_GPIO_PORTH

LL_PWR_GPIO_I

l4

LL_PWR_GPIO_PORTI

LL_PWR_NO_SRAM2_RETENTION

l4

Not implemented yet in HAL2.

LL_PWR_PVM_VDDIO2_0_9V

l4

Not implemented yet in HAL2.

LL_PWR_SR1_EXT_SMPS_RDY

l4

Not implemented yet in HAL2.

LL_PWR_WAKEUP_PIN_NOPULL

h5, h7

LL_PWR_WAKEUP_PIN_PULL_NO

LL_PWR_CPU2_MODE_D1STANDBY

h7

Not implemented yet in HAL2.

LL_PWR_CPU2_MODE_D1STOP

h7

Not implemented yet in HAL2.

LL_PWR_CPU2_MODE_D2STANDBY

h7

Not implemented yet in HAL2.

LL_PWR_CPU2_MODE_D2STOP

h7

Not implemented yet in HAL2.

LL_PWR_CPU2_MODE_D3RUN

h7

Not implemented yet in HAL2.

LL_PWR_CPU2_MODE_D3STANDBY

h7

Not implemented yet in HAL2.

LL_PWR_CPU2_MODE_D3STOP

h7

Not implemented yet in HAL2.

LL_PWR_CPU_MODE_D1STANDBY

h7

Not implemented yet in HAL2.

LL_PWR_CPU_MODE_D1STOP

h7

Not implemented yet in HAL2.

LL_PWR_CPU_MODE_D2STANDBY

h7

Not implemented yet in HAL2.

LL_PWR_CPU_MODE_D2STOP

h7

Not implemented yet in HAL2.

LL_PWR_CPU_MODE_D3RUN

h7

Not implemented yet in HAL2.

LL_PWR_CPU_MODE_D3STANDBY

h7

Not implemented yet in HAL2.

LL_PWR_CPU_MODE_D3STOP

h7

Not implemented yet in HAL2.

LL_PWR_D3CR_VOSRDY

h7

Not implemented yet in HAL2.

LL_PWR_PMCR_CSSF

h5

Removed

LL_PWR_WUSCR_CWUF1

h5, u5

Removed

LL_PWR_WUSCR_CWUF2

h5, u5

Removed

LL_PWR_WUSCR_CWUF3

h5, u5

Removed

LL_PWR_WUSCR_CWUF4

h5, u5

Removed

LL_PWR_WUSCR_CWUF5

h5, u5

Removed

LL_PWR_WUSCR_CWUF6

h5, u5

Removed

LL_PWR_WUSCR_CWUF7

h5, u5

Removed

LL_PWR_WUSCR_CWUF_ALL

h5, u5

Removed

LL_PWR_FLAG_STOPF

h5, u5

Removed

LL_PWR_FLAG_SBF

h5, u5

Removed

LL_PWR_FLAG_PVDO

h5, h7, u5

Removed

LL PWR functions

HAL1

series

HAL2

LL_PWR_DeInit

c0, f4, g0, g4, h5, h7, l4, u5

Removed / New usage changes

LL_PWR_DisableVDD11USB

u5

LL_PWR_DisableVdd11USB

LL_PWR_EnableIORetention

h5

LL_PWR_EnableIORetentionStandbyMode

LL_PWR_EnableJTAGIORetention

h5

LL_PWR_EnableJTAGIORetentionStandbyMode

LL_PWR_EnableVDD11USB

u5

LL_PWR_EnableVdd11USB

LL_PWR_IsEnabledVDD11USB

u5

LL_PWR_IsEnabledVdd11USB

LL_PWR_ConfigSupply

h5, h7

LL_PWR_EnableBypass

LL_PWR_DisableAHBRAM2ShutOff

h5, h7

Removed

LL_PWR_IsActiveFlag_WU

c0, f4, g0, g4, h5, h7, l4, u5

Not implemented yet in HAL2.

LL_PWR_DisableJTAGIORetention

h5

LL_PWR_DisableJTAGIORetentionStandbyMode

LL_PWR_DisableAHBRAM1ShutOff

h5, h7

Removed

LL_PWR_DisableAHBRAM3ShutOff

h5

Removed

LL_PWR_DisableFlashPowerDown

c0, f4, g0, h5, h7

LL_PWR_DisableFlashLowPWRMode

LL_PWR_IsActiveFlag_WU

c0, f4, g0, g4, h5, h7, l4, u5

Not implemented yet in HAL2.

LL_PWR_EnableAHBRAM1ShutOff

h5, h7

Removed

LL_PWR_EnableAHBRAM3ShutOff

h5

Removed

LL_PWR_EnableFlashPowerDown

c0, f4, g0, h5, h7

LL_PWR_EnableFlashLowPWRMode

LL_PWR_DisableIORetention

h5

LL_PWR_DisableIORetentionStandbyMode

LL_PWR_DisableAHBRAM2_16K_ShutOff

h5

Not implemented yet in HAL2.

LL_PWR_DisableAHBRAM2_48K_ShutOff

h5

Not implemented yet in HAL2.

LL_PWR_DisableAHBRAM2_High_16K_ShutOff

h5

Not implemented yet in HAL2.

LL_PWR_DisableAHBRAM2_Low_16K_ShutOff

h5

Not implemented yet in HAL2.

LL_PWR_DisableETHERNETRAMShutOff

h5

Not implemented yet in HAL2.

LL_PWR_DisableUSBVoltageDetector

h5, h7

Not implemented yet in HAL2.

LL_PWR_EnableAHBRAM2ShutOff

h5, h7

Removed

LL_PWR_EnableAHBRAM2_16K_ShutOff

h5

Not implemented yet in HAL2.

LL_PWR_EnableAHBRAM2_48K_ShutOff

h5

Not implemented yet in HAL2.

LL_PWR_EnableAHBRAM2_High_16K_ShutOff

h5

Not implemented yet in HAL2.

LL_PWR_EnableAHBRAM2_Low_16K_ShutOff

h5

Not implemented yet in HAL2.

LL_PWR_EnableETHERNETRAMShutOff

h5

Not implemented yet in HAL2.

LL_PWR_EnableUSBVoltageDetector

h5, h7

Not implemented yet in HAL2.

LL_PWR_GetStopModeRegulVoltageScaling

h5, h7

Not implemented yet in HAL2.

LL_PWR_GetSupply

h5, h7

LL_PWR_IsEnabledBypass

LL_PWR_IsActiveFlag_BRR

f4, h5, h7

Not implemented yet in HAL2.

LL_PWR_IsEnabledAHBRAM2ShutOff

h5, h7

Removed

LL_PWR_IsEnabledAHBRAM2_16K_ShutOff

h5

Not implemented yet in HAL2.

LL_PWR_IsEnabledAHBRAM2_48K_ShutOff

h5

Not implemented yet in HAL2.

LL_PWR_IsEnabledAHBRAM2_High_16K_ShutOff

h5

Not implemented yet in HAL2.

LL_PWR_IsEnabledAHBRAM2_Low_16K_ShutOff

h5

Not implemented yet in HAL2.

LL_PWR_IsEnabledETHERNETRAMShutOff

h5

Not implemented yet in HAL2.

LL_PWR_IsEnabledUSBVoltageDetector

h5, h7

Not implemented yet in HAL2.

LL_PWR_SetStopModeRegulVoltageScaling

h5, h7

Not implemented yet in HAL2.

LL_PWR_ClearFlag_UD

f4

Not implemented yet in HAL2.

LL_PWR_DisableFLASHInterfaceSTOP

f4

Not implemented yet in HAL2.

LL_PWR_DisableFLASHMemorySTOP

f4

Not implemented yet in HAL2.

LL_PWR_DisableLowPowerRegulatorDeepSleepUDMode

f4

Not implemented yet in HAL2.

LL_PWR_DisableLowPowerRegulatorLowVoltageMode

f4

Not implemented yet in HAL2.

LL_PWR_DisableMainRegulatorDeepSleepUDMode

f4

Not implemented yet in HAL2.

LL_PWR_DisableMainRegulatorLowVoltageMode

f4

Not implemented yet in HAL2.

LL_PWR_DisableOverDriveSwitching

f4

Not implemented yet in HAL2.

LL_PWR_DisableUnderDriveMode

f4

Not implemented yet in HAL2.

LL_PWR_EnableFLASHInterfaceSTOP

f4

Not implemented yet in HAL2.

LL_PWR_EnableFLASHMemorySTOP

f4

Not implemented yet in HAL2.

LL_PWR_EnableLowPowerRegulatorDeepSleepUDMode

f4

Not implemented yet in HAL2.

LL_PWR_EnableLowPowerRegulatorLowVoltageMode

f4

Not implemented yet in HAL2.

LL_PWR_EnableMainRegulatorDeepSleepUDMode

f4

Not implemented yet in HAL2.

LL_PWR_EnableMainRegulatorLowVoltageMode

f4

Not implemented yet in HAL2.

LL_PWR_EnableOverDriveSwitching

f4

Not implemented yet in HAL2.

LL_PWR_EnableUnderDriveMode

f4

Not implemented yet in HAL2.

LL_PWR_GetRegulModeDS

f4, h7

Not implemented yet in HAL2.

LL_PWR_IsActiveFlag_OD

f4

Not implemented yet in HAL2.

LL_PWR_IsActiveFlag_ODSW

f4

Not implemented yet in HAL2.

LL_PWR_IsActiveFlag_UD

f4

Not implemented yet in HAL2.

LL_PWR_IsEnabledFLASHInterfaceSTOP

f4

Not implemented yet in HAL2.

LL_PWR_IsEnabledFLASHMemorySTOP

f4

Not implemented yet in HAL2.

LL_PWR_IsEnabledLowPowerRegulatorDeepSleepUDMode

f4

Not implemented yet in HAL2.

LL_PWR_IsEnabledLowPowerRegulatorLowVoltageMode

f4

Not implemented yet in HAL2.

LL_PWR_IsEnabledMainRegulatorDeepSleepUDMode

f4

Not implemented yet in HAL2.

LL_PWR_IsEnabledMainRegulatorLowVoltageMode

f4

Not implemented yet in HAL2.

LL_PWR_IsEnabledOverDriveSwitching

f4

Not implemented yet in HAL2.

LL_PWR_IsEnabledUnderDriveMode

f4

Not implemented yet in HAL2.

LL_PWR_SetRegulModeDS

f4, h7

Not implemented yet in HAL2.

LL_PWR_DisableFlashPowerDownInLPRun

g0

LL_PWR_DisableFlashPWRDownModeDuringLPRun

LL_PWR_DisableFlashPowerDownInLPSleep

g0

LL_PWR_DisableFlashPWRDownModeDuringSleeep

LL_PWR_DisableLPMUResetSamplingMode

g0

Not implemented yet in HAL2.

LL_PWR_EnableFlashPowerDownInLPRun

g0

LL_PWR_EnableFlashPWRDownModeDuringLPRun

LL_PWR_EnableFlashPowerDownInLPSleep

g0

LL_PWR_EnableFlashPWRDownModeDuringSleeep

LL_PWR_EnableLPMUResetSamplingMode

g0

Not implemented yet in HAL2.

LL_PWR_GetPVDHighLevel

g0

Not implemented yet in HAL2.

LL_PWR_GetPVDLowLevel

g0

Not implemented yet in HAL2.

LL_PWR_IsEnableFlashPowerDownInLPRun

g0

LL_PWR_IsEnabledFlashPWRDownModeDuringLPRun

LL_PWR_IsEnableFlashPowerDownInLPSleep

g0

LL_PWR_IsEnabledFlashPWRDownModeDuringSleep

LL_PWR_IsEnableLPMUResetSamplingMode

g0

Not implemented yet in HAL2.

LL_PWR_SetPVDHighLevel

g0

Not implemented yet in HAL2.

LL_PWR_SetPVDLowLevel

g0

Not implemented yet in HAL2.

LL_PWR_DisableRange1BoostMode

g4, l4

Not implemented yet in HAL2.

LL_PWR_DisableSRAM2Retention

g4, l4

LL_PWR_DisableMemoryStopRetention

LL_PWR_EnableRange1BoostMode

g4, l4

Not implemented yet in HAL2.

LL_PWR_EnableSRAM2Retention

g4, l4

LL_PWR_EnableMemoryStopRetention

LL_PWR_IsActiveFlag_PVMO1

g4, l4

Not implemented yet in HAL2.

LL_PWR_IsActiveFlag_PVMO2

g4, l4

Not implemented yet in HAL2.

LL_PWR_IsActiveFlag_PVMO3

g4, l4

Not implemented yet in HAL2.

LL_PWR_IsActiveFlag_PVMO4

g4, l4

Not implemented yet in HAL2.

LL_PWR_IsEnabledRange1BoostMode

g4, l4

Not implemented yet in HAL2.

LL_PWR_IsEnabledSRAM2Retention

g4, l4

LL_PWR_IsEnabledMemoryStopRetention

LL_PWR_DisableDSIPinsPDActivation

l4

Not implemented yet in HAL2.

LL_PWR_DisableDSIPullDown

l4

Not implemented yet in HAL2.

LL_PWR_DisableExtSMPS_0V95

l4

Not implemented yet in HAL2.

LL_PWR_DisableSRAM3Retention

l4

LL_PWR_DisableMemoryStopRetention

LL_PWR_EnableDSIPinsPDActivation

l4

Not implemented yet in HAL2.

LL_PWR_EnableDSIPullDown

l4

Not implemented yet in HAL2.

LL_PWR_EnableExtSMPS_0V95

l4

Not implemented yet in HAL2.

LL_PWR_EnableSRAM3Retention

l4

LL_PWR_EnableMemoryStopRetention

LL_PWR_GetSRAM2ContentRetention

l4

LL_PWR_IsEnabledSRAMRetention

LL_PWR_IsActiveFlag_ExtSMPSReady

l4

Not implemented yet in HAL2.

LL_PWR_IsEnabledDSIPinsPDActivation

l4

Not implemented yet in HAL2.

LL_PWR_IsEnabledDSIPullDown

l4

Not implemented yet in HAL2.

LL_PWR_IsEnabledExtSMPS_0V95

l4

Not implemented yet in HAL2.

LL_PWR_IsEnabledSRAM3Retention

l4

LL_PWR_IsEnabledMemoryStopRetention

LL_PWR_SetSRAM2ContentRetention

l4

LL_PWR_SetSRAMContentRetention

LL_PWR_IsEnabledJTAGIORetention

h5

LL_PWR_IsEnabledJTAGIORetentionStandbyMode

LL_PWR_IsEnabledIORetention

h5

LL_PWR_IsEnabledIORetentionStandbyMode

LL_PWR_GetCurrentVOS

h5

LL_PWR_GetActiveRegulatorVoltageScaling

LL_PWR_IsEnabledAHBRAM1ShutOff

h5, h7

Removed

LL_PWR_IsEnabledAHBRAM3ShutOff

h5

Removed

LL_PWR_IsEnabledFlashPowerDown

f4, h5, h7

LL_PWR_IsEnabledFlashLowPWRMode

LL_PWR_DisableDeadBatteryPD

g4

LL_PWR_DisableUCPDDeadBattery

LL_PWR_DisableStandByModePD

g4

LL_PWR_DisableUCPDStandbyMode

LL_PWR_DisableUSBDeadBattery

g4

LL_PWR_DisableUCPDDeadBattery

LL_PWR_DisableUSBStandByModePD

g4

LL_PWR_DisableUCPDStandbyMode

LL_PWR_DisableVDDA

u5

LL_PWR_DisableVddA

LL_PWR_DisableVDDAMonitor1

u5

LL_PWR_DisableVddAMonitor1

LL_PWR_DisableVDDAMonitor2

u5

LL_PWR_DisableVddAMonitor2

LL_PWR_DisableVDDIO2

u5

LL_PWR_DisableVddIO2

LL_PWR_DisableVDDIO2Monitor

u5

LL_PWR_DisableVddIO2Monitor

LL_PWR_DisableVDDUSB

h5, u5

LL_PWR_DisableVddUSB

LL_PWR_DisableVDDUSBMonitor

u5

LL_PWR_DisableVddUSBMonitor

LL_PWR_EnableDeadBatteryPD

g4

LL_PWR_EnableUCPDDeadBattery

LL_PWR_EnableStandByModePD

g4

LL_PWR_EnableUCPDStandbyMode